package asteroids.model.programs.parsing.expressions;

import java.util.Map;

import asteroids.model.Ship;
import asteroids.model.programs.parsing.types.EntityLiteral;
import asteroids.model.programs.parsing.types.Type;

/**
 * A class of null expressions.
 * A null expression is just null.
 * 
 * @author Thijs Dieltjens - Wim Konings
 * @version 2.0
 */
public class NullExpr extends NullaryExpression {

	public NullExpr(int line, int column) {
		super(line, column);
	}

	@Override
	public EntityLiteral eval(Ship ship, Map<String, Type> globals) {
		return new EntityLiteral(null);
	}
}
